package com.cxyd.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 库存信息
 *
 * @author g_Cycle gengruyi01@163.com
 * @since 1.0.0 2023-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("vw_stock_expiry")
public class StockExpiryEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@TableId(type = IdType.AUTO)
	private Long stockId;

	private String contNo;

	private String curPosition;
	private String spuNo;
	private String positionType;
	private String largeType;
	private String unitName;
	private String unitCode;

	private String spuName;

	private BigDecimal stockQty;

	private Date entryStartDate;

	private Date expiryDate;

	private String reelId;
	private Integer expiryDays;
	private Integer overDays;
}